# -*- coding: utf-8 -*- 

###########################################################################
## Python code generated with wxFormBuilder (version Apr 10 2012)
## http://www.wxformbuilder.org/
##
## PLEASE DO "NOT" EDIT THIS FILE!
###########################################################################

import wx
import wx.xrc

###########################################################################
## Class Frame_Principal
###########################################################################

class Frame_Principal ( wx.Frame ):
	
	def __init__( self, parent ):
		wx.Frame.__init__ ( self, parent, id = wx.ID_ANY, title = u"bordes", pos = wx.DefaultPosition, size = wx.Size( 752,492 ), style = wx.DEFAULT_FRAME_STYLE|wx.TAB_TRAVERSAL )
		
		self.SetSizeHintsSz( wx.DefaultSize, wx.DefaultSize )
		
		bSizer1 = wx.BoxSizer( wx.VERTICAL )
		
		bSizer2 = wx.BoxSizer( wx.HORIZONTAL )
		
		self.m_slider_min = wx.Slider( self, wx.ID_ANY, 10, 0, 255, wx.DefaultPosition, wx.DefaultSize, wx.SL_HORIZONTAL|wx.SL_LABELS )
		bSizer2.Add( self.m_slider_min, 1, wx.ALL|wx.EXPAND, 5 )
		
		self.m_slider_max = wx.Slider( self, wx.ID_ANY, 50, 0, 255, wx.DefaultPosition, wx.DefaultSize, wx.SL_HORIZONTAL|wx.SL_LABELS )
		bSizer2.Add( self.m_slider_max, 1, wx.ALL|wx.EXPAND, 5 )
		
		
		bSizer1.Add( bSizer2, 0, wx.EXPAND, 5 )
		
		self.PanelDividido = wx.SplitterWindow( self, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.SP_3D )
		self.PanelDividido.Bind( wx.EVT_IDLE, self.PanelDivididoOnIdle )
		
		self.panelIzquierdo = wx.Panel( self.PanelDividido, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, 0 )
		self.panelDerecho = wx.Panel( self.PanelDividido, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, 0 )
		self.PanelDividido.SplitVertically( self.panelIzquierdo, self.panelDerecho, 0 )
		bSizer1.Add( self.PanelDividido, 1, wx.EXPAND, 5 )
		
		
		self.SetSizer( bSizer1 )
		self.Layout()
		
		self.Centre( wx.BOTH )
		
		# Connect Events
		self.Bind( wx.EVT_CHAR, self.Frame_PrincipalOnChar )
		self.Bind( wx.EVT_CLOSE, self.OnClose )
		self.Bind( wx.EVT_KEY_DOWN, self.Frame_PrincipalOnChar )
		self.Bind( wx.EVT_SIZE, self.OnSize )
	
	def __del__( self ):
		pass
	
	
	# Virtual event handlers, overide them in your derived class
	def Frame_PrincipalOnChar( self, event ):
		event.Skip()
	
	def OnClose( self, event ):
		event.Skip()
	
	
	def OnSize( self, event ):
		event.Skip()
	
	def PanelDivididoOnIdle( self, event ):
		self.PanelDividido.SetSashPosition( 0 )
		self.PanelDividido.Unbind( wx.EVT_IDLE )
	

